﻿using FluentMigrator;

namespace ProgressTracker.Data.Migrations._2014_05_12
{
    [Migration(201405120024)]
    public class _0024_Add_Archived_Flag_To_Tasks : Migration
    {
        public override void Up()
        {
            Alter.Table("Tasks").AddColumn("Archived").AsBoolean().WithDefaultValue(false);
        }

        public override void Down()
        {
            Delete.Column("Archived").FromTable("Tasks");
        }
    }
}
